<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateElRefundShippingTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('el_refund_shipping', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('refund_id');
            $table->string('code')->nullable(); //快递公司编号
            $table->string('shipping_name')->nullable(); //快递公司名称
            $table->string('shipping_tracking')->nullable(); //运单编号
            $table->timestamps();

        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('el_refund_shipping');
    }
}
